package com.abel.bigwater.kmgw.dao

import com.abel.bigwater.dataserver.model.ServiceConfig

interface ConfigDao {
    /**
     * retrieve service-config by cfg-id.
     */
    fun getConfig(cfgId: String): ServiceConfig?

    /**
     * create demo config
     */
    fun createConfig(cfg: ServiceConfig): Int?

    /**
     * delete the config
     */
    fun deleteConfig(cfgId: String): Long
}